home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
pc
/
3-Presentations
/
Apple Demos
/
Training
/
Macintosh Graphics Primer
/
Macintosh Graphics Primer
/
card_88103.txt
< prev
next >
Wrap
Text File
|
1990-12-05
|
7KB
|
319 lines
-- card: 88103 from stack: in
-- bmap block id: 86600
-- flags: 0000
-- background id: 79034
-- name: index 5
----- HyperTalk script -----
on opencard
global maploc, cardloc
put "index" into maploc
set the hilite of bg btn 7 to true
end opencard
on closecard
set the hilite of bg btn 7 to false
push card
end closecard
-- part 1 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=120 top=173 right=193 bottom=244
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Intermediate hues
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "intro 19"
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=120 top=136 right=155 bottom=226
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: INITs and DAs
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "benefit 4"
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=337 top=152 right=172 bottom=422
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Light waves
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "intro 2"
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=337 top=134 right=153 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Lightness
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "intro 6"
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=337 top=171 right=191 bottom=418
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Luminance
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "TV3"
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=337 top=190 right=212 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Luminance signal
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "TV8"
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=337 top=97 right=116 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Light
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "intro 2"
end mouseUp
-- part 13 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=337 top=115 right=135 bottom=402
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Lighting
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "intro 8"
end mouseUp
-- part 18 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=120 top=98 right=117 bottom=195
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: IBM
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "compete 2"
end mouseUp
-- part 19 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=120 top=116 right=137 bottom=205
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: IBM 8514/A
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "compete 6"
end mouseUp
-- part 20 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=120 top=154 right=174 bottom=193
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Interlace
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "TV11"
end mouseUp
-- part 21 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=392 top=320 right=338 bottom=426
-- title width / last selected line: 0
-- icon id / first selected line: 1500 / 1500
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Start-Up
----- HyperTalk script -----
on mouseDown
global NAV_PATH, SYS_PATH, GTRACKINGDISABLED
put (item 1 of the mouseLoc) - (item 1 of the Loc of me) into whereInBtn
-- simulate hiliting of two small buttons
repeat until the mouse is up
---find out WHERE on the icon you clicked
put (item 1 of the mouseLoc) - (item 1 of the Loc of me) into whereInBtn
if the mouseLoc is within the rect of the target then
if whereInBtn < 0 then
set icon of me to 1501
else
set icon of me to 1502
end if
else -- outside of the button, reset default icon
set icon of me to 1500
end if
end repeat
set icon of me to 1500
if the mouseloc is not within the rect of me then exit mouseDown
if whereInBtn < 0 then
--- the click was on the left so go to send feedback if it exists
if (GTRACKINGDISABLED = empty) or (GTRACKINGDISABLED = true) then
answer "“CD Preferences” has not been installed." with "OK"
exit mouseDown
end if
--
if (GTRACKINGDISABLED = "Disabled") then
answer "The feedback mechanism has been disabled." with "OK"
exit mouseDown
end if
--
push card
put SYS_PATH & "CD Preferences" into feedPath
set cursor to watch
visual effect dissolve fast
go stack feedPath
else if whereInBtn > 0 then
-- if the click was on the right then go back to navigation stack
visual effect iris close to black
visual effect iris open
if NAV_PATH = empty then put "cd welcome of stack" && "the “Navigation Stack”" into NAV_PATH
-- make a prompt for "where is" if the global is empty
go NAV_PATH
end if
end mouseDown
on mouseUp
-- kill any mouseups
end mouseUp
-- part contents for background part 2
----- text -----
Macintosh Graphics Primer
-- part contents for background part 3
----- text -----
Index
-- part contents for background part 4
----- text -----
Click on any index entry to go to that card.